<?php

interface Quad_Db_Adapter_Interface {
 
  public function __construct($connectInfo);
  
	public function connect();
  
	public function close();
	
	public function getStmt();
  
	public function quote($identifier);
	
	public function escape($value);
  
  public function query($sql, $bindVars=array());
  
  public function select($sql, $bindVars=array(), $offset=null, $limit=null);
  
  public function execute($sql, $bindVars=array());
  
  public function insert($sql, $bindVars=array());
  
  public function update($sql, $bindVars=array());
  
  public function delete($sql, $bindVars=array());
  
  public function errorMsg();
  
  public function errorNo();
   
}